<%-- 
    Document   : index
    Created on : Apr 24, 2011, 7:50:33 AM
    Author     : enriquer
--%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page contentType="text/html" pageEncoding="UTF-8"%>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>

        <script src="/dojo-1.6.0/dojo/dojo.js" djConfig="parseOnLoad: true">
	
        </script>
        <script src="sevent.js"></script>
        <script src="pagination.js"></script>
        <script type="text/javascript">
            dojo.require("dijit.layout.ContentPane");
            dojo.require("dijit.layout.BorderContainer");
            dojo.require("dijit.MenuBar");
            dojo.require("dijit.Menu");
            dojo.require("dijit.MenuBarItem");
            dojo.require("dijit.MenuItem");
            dojo.require("dijit.form.Button");
            dojo.require("dijit.form.Form");
            dojo.require("dijit.form.ValidationTextBox");
            dojo.require("dijit.form.SimpleTextarea");
            dojo.require("dijit.form.DateTextBox");
            dojo.require("dijit.form.CheckBox");
            dojo.require("dijit.TitlePane");
            dojo.require("dijit.layout.TabContainer");
            dojo.require("dijit.form.TimeTextBox");
            dojo.require("dijit.form.NumberSpinner");
            dojo.require("dojo.data.ItemFileReadStore");

            dojo.addOnLoad(function() {

                dojo.connect(dijit.byId("divSignUpMenuBarItem"), "onClick", function() {
                    get("signUp.htm");
                });
                
                dojo.connect(dijit.byId("divEventsMenuBarItem"), "onClick", function() {
                    getLeft("menuEvents.htm");
                });
		
                
            });
        </script>

        <link rel="stylesheet" type="text/css"
              href="/dojo-1.6.0/dijit/themes/claro/claro.css" />
        <style type="text/css">
            body,html {
                font-family: helvetica, arial, sans-serif;
                font-size: 90%;
                width: 90%;
                height: 100%;
                margin: 0;
                overflow: auto;
                margin-left: auto;
                margin-right: auto;
            }

            #divMainContainer {
                width: 100%;
                height: 100%;
            }
            #centered
        </style>

    </head>


    <body class="claro">

        <div id="divMainContainer" dojoType="dijit.layout.BorderContainer" >
            <div id="divTopPane" dojoType="dijit.layout.ContentPane" style="border:none;"
                 region="top">
                <img src="/img/logo.png"/>
                <div dojoType="dijit.MenuBar">
                    <div id="divSignUpMenuBarItem" dojoType="dijit.MenuBarItem">
                        <spring:message code="menubar.signup" />
                    </div>
                    <div id="divEventsMenuBarItem" dojoType="dijit.MenuBarItem">
                        <spring:message code="menubar.events" />
                    </div>
                </div>
            </div>

            <div id="divLeftPane" dojoType="dijit.layout.ContentPane"
                 region="left" style="width: 25%;border:none;">

            </div>
            <div id="divCenterPane" dojoType="dijit.layout.ContentPane" style="border:none;"
                 region="center">
                <div id="mainLayout"></div>
            </div>
        </div>

    </body>
</html>
